package ar.edu.caece.compiler.grammars.sample2.grammar;

import ar.edu.caece.compiler.grammars.sample2.tokens.SampleGrammarSymbol;

// E -> F E1
public class E implements SampleGrammarSymbol {
	private F f;
	public F getF() {
		return f;
	}
	public void setF(F f) {
		this.f = f;
	}
	public E1 getE1() {
		return e1;
	}
	public void setE1(E1 e1) {
		this.e1 = e1;
	}
	private E1 e1;
	
	public E(F f, E1 e1) {
		this.f = f;
		this.e1 = e1;
	}
	@Override
	public String getRepresentation() {
		return "E -> [" + f.getRepresentation() + " " + e1.getRepresentation() +"]" ;
	}
}
